package com.klikmee.sms.core.commons.filters;

/**
 * Defines component that can do some kind of processing of items which type is
 * defined by T. Usually implementations of this interface are configured to
 * work in chain.
 * 
 * @author makcro
 * 
 * @param <T>
 *            type of item to process
 */
public interface ProcessItemFilter<T> {
	/**
	 * Performs some kind of item processing.
	 * 
	 * @param item
	 *            item to process
	 * @return true if item was processed, other wise false
	 */
	public boolean process(T item);
}
